package com.foo.designpattern.proxy.staticproxy1;

/**
 * com.foo.designpattern.proxy.staticproxy1
 * Created with IntelliJ IDEA.
 * Created by jiang on 2016-04-29 17:01.
 *
 * @Description 真实的对象(实现Subject接口)，真正处理请求的类
 */

public class RealSubject implements Subject {
    public RealSubject() {
    }

    /**
     * 真正处理请求的方法
     */
    @Override
    public void request() {
        System.out.println("我来自真实的对象");
    }
}
